package tcc.wa.presenter;

import tcc.wa.R;
import tcc.wa.presenter.view.WeatherAlertView;
import tcc.wa.service.alarm.Alarm;

/**
 * Presenter class for the main application.
 */
public class WeatherAlertPresenter {

	private WeatherAlertView view;
	
	public WeatherAlertPresenter(WeatherAlertView view) {
		this.view = view;
	}
	
	/**
	 * Called when view is created.
	 */
	public void onCreate() {
		view.initView(R.layout.main);
		Alarm alarm = new Alarm();
		alarm.setAlarm(view.getContext());
	}
}
